from django.urls import path

from elastic_sys.views import response_get_entity, response_search, response_get_search_suggest, get_buckets_search, \
    response_get_entity_list, response_related_entity_list, get_entity_statistics

urlpatterns = [
    path("entity/<str:entity_type_name>/<str:entity_id>", response_get_entity),
    path("list/<str:entity_type_name>", response_get_entity_list),
    path("relation/<str:relation>/<str:entity_id>", response_related_entity_list),
    path("search", response_search),
    path("search/suggest", response_get_search_suggest),
    path("search/buckets", get_buckets_search),
    path("statistics", get_entity_statistics),
]
